<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2015/12/28
 * Time: 12:26
 */

/**
 * Class Involved_OrderModel
 */

class Involved_RefundModel extends BaseModel{

    protected $table = 'refund';


    /**
     * 获取退款详情
     * @return mixed
     */
    public function GetRefundDetail($order_id,$refund_id)
    {
        return  DB::table($this->table)->where(['order_id'=>$order_id,'refund_id'=>$refund_id])->get();
    }

    /**
     * 获取订单详情
     * @return mixed
     */
    public function GetOrderDetail($order_id)
    {
        return  DB::table($this->table)->where('order_id',$order_id)->get();
    }
















}